<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<link href="${root!}/static/css/layout.css" rel="stylesheet"
	type="text/css" />
<link href="${root!}/static/css/skin.css" rel="stylesheet"
	type="text/css" />
<link href="${root!}/static/css/dialog.css" rel="stylesheet" type="text/css" />

<script src="${root!}/static/Js/jquery-1.4.2.js" type="text/javascript"></script>

<script src="${root!}/static/js/layout.js" type="text/javascript"></script>

<script src="${root!}/static/js/dialog.js" type="text/javascript"></script>

<script src="${root!}/static/js/row.js" type="text/javascript"></script>

<script src="${root!}/static/js/form.js" type="text/javascript"></script>


<script>
	var RootPath = "${root!}";
	var FormCodeUrl = RootPath + "/components/row";
	//动态行
	var FormSubmitMethod = "save";
	var FormRowClass = "DynamicRow";
	
	var rowData1="${rowData1!}";
	
	$(function() {
		ShowRow();
	});
	
	function submitClick() {
		if (!CheckForm()) {
			return false;
		} else {
			PrintXml();
			SubmitForm();
		}
	}
	
</script>

</head>
<body>

	<form id="myform">
		<div class="container">
			<div class="hiddencalc fullheight w4"></div>
			<div class="fullheight calcwidth">
				<div class="fullwidth">
					<div class="buttonGroup h30">
						<input type="button" value="确定" id="btnSubmit" onclick="submitClick();" />
					</div>
				</div>
				<div class="hiddencalc fullwidth h4"></div>
				<div class="formcontainer fullwidth">
					<div class="formitem halfwidth h30">
						<div class="label w150">
							<font class="labeltext">表名称：</font>
						</div>
						<div class="control calcwidth">
							<input type="text" class="calcwidth" id="txtTableName"
								name="txtTableName" />
						</div>
					</div>
					<div class="formitem halfwidth h30">
						<div class="label w150">
							<font class="labeltext"></font>
						</div>
						<div class="control calcwidth"></div>
					</div>
				</div>
				<div class="hiddencalc fullwidth h4"></div>
				<div id="content" class="fullwidth calcheight onlyscrolly">
					<span onclick="InsertRow('DyRow1')" style="cursor: pointer;">[插入]</span>
					<table border="1" width="100%" id="DyRow1" class="DynamicRow" data="rowData1">
						<tr>
							<td><input type="text" id="txt1" style="width:100px;" /></td>
							<td>介绍说明。。。</td>
							<td><input type="text" id="txt2" style="width:100px;" /></td>
							<td><input type="text" id="txt3" style="width:100px;" value="自定义"/></td>
							<td><span onclick="DeleteRow(this,'DyRow1')" style="cursor: pointer;">[删除]</span></td>
						</tr>
					</table>
					
				</div>
				<div class="hiddencalc fullwidth h4"></div>
			</div>
			<div class="hiddencalc fullheight w4"></div>
		</div>
	</form>
</body>
</html>
